# -*- coding:utf-8 -*-
# @Time      :${DATE} ${TIME}
# @Author   :${USER}
# @project   :${PROJECT_NAME}
# @FileName  :${NAME}.py

import math
print(1,'%d'%math.pi)
print(2,'%f'%math.pi)
print(3,'%g'%math.pi)
print(4,'%e'%math.pi)
print(5,'%.2f'%math.pi)
print(6,'%.*f'%(3,math.pi))
print(7,'%010.2f'%0.5)
print(8,'%+10.2f'%0.5)
print(9,'%-10.2f'%0.5)

print('----------')

#a=int(input("请输入:"))
#b=int(input("请输入:"))
#print("%d*%d=% 3d"%(a,b,(a*b)))

print('----------')

a=int(input("请输入:"))
b=int(input("请输入:"))
print("{:d}*{:d}={:>3d}".format(a,b,(a*b)))